package com.example.manage.client;

        import org.springframework.cloud.openfeign.FeignClient;
        import org.springframework.web.bind.annotation.RequestMapping;
        import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author 86188
 */
@FeignClient(name = "repository-server")
public interface RepositoryClient {
    /**
     * 减库存
     */
    @RequestMapping(value = "/repository/reduceProduct",method = RequestMethod.PUT)
    Boolean reduceProduct();
}
